package org.person.gift.clients;

import org.person.gift.clients.fallback.PayClientFallback;
import org.person.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Auther Stark
 * @Date 2024/02/24
 */
@FeignClient(value = "gift-pay",fallback = PayClientFallback.class)
public interface PayClient {
    @PostMapping("/payOrder/cancel/{businessId}")
    AjaxResult cancelPayOrder(@PathVariable("businessId")String businessId);
}
